package com.example.demo.mapper;

import com.example.demo.entity.Company;
import com.example.demo.entity.JobPosition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface Company_Mapper {
    @Select("SELECT * FROM company ")
    ArrayList<Company> select_Company();

    @Select("SELECT * FROM company WHERE name=#{name}")
    ArrayList<Company> select_compny_by_name(String name);


}
